SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}Ulm{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}' OR prCity = 'Ulm' OR prZip = 'Ulm' OR prStreet LIKE '{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}Ulm{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}' OR prCountry = 'Ulm') AND (prLocation LIKE '{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}Germany{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}Germany{66ebf05e620b1a65e4dd64b4a75e90572f96d265ff5b15cd586423d275f2d38c}' OR prCountry = 'Germany')